package com.api.volunteer.repository;

import com.api.volunteer.model.MessageRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 邹宇杰
 * @email 2901570623@qq.com
 * @date 2022/4/5 11:00
 */
@Repository
public interface MessageRecordRepository extends JpaRepository<MessageRecord, String> {

    List<MessageRecord> findMessageRecordBySessionIdOrderByCreateDate(String sessionId);

}
